#pragma once
#include "DeviceBase.h"

namespace RobotPlant { namespace RobotProxy{
	using namespace std;
	using namespace boost::join;
	using namespace RobotPlant::Common;

	/*
	The Stream Device provides bi-directional packet-based stream access. 
	It allows a text (string) or binary (byte) stream to be communicated between services using read and write operations. 
	The underlying stream is converted into a series of text or binary packets.
	*/
	class RP_ROBOTPROXY_API StreamDevice : public DeviceBase
	{
	protected:

	public:
		/*
		Constructor
		*/
		StreamDevice(RobotInstance* pParent,joint::spawn_type e=0);

		~StreamDevice();

	protected:
	};
}}
